﻿namespace Aurora.Security
{
    public static class Base64Extensions
    {
        public static bool IsBase64String(this string value)
        {
            Span<byte> buffer = stackalloc byte[value.Length];
            return Convert.TryFromBase64String(value, buffer, out _);
        }
    }
}